/**
 * Copyright © 2015-2020 <a href="http://www.jeeplus.org/">JeePlus</a> All rights reserved.
 */
package com.jeeplus.modules.free.entity;

import javax.validation.constraints.NotNull;

import com.jeeplus.core.persistence.DataEntity;
import com.jeeplus.common.utils.excel.annotation.ExcelField;
import lombok.Data;

/**
 * 免费会员设置Entity
 * @author zhych
 * @version 2021-12-23
 */
@Data
public class Free extends DataEntity<Free> {
	
	private static final long serialVersionUID = 1L;
	@ExcelField(title="标题", align=2, sort=1)
	private String title;		// 标题
	@ExcelField(title="简介", align=2, sort=2)
	private String intro;		// 简介
    @NotNull(message="天数不能为空")
	@ExcelField(title="天数", align=2, sort=3)
	private Integer days;		// 天数
	
	public Free() {
		super();
	}
	
	public Free(String id){
		super(id);
	}
}